package com.woniuxy.mesboot.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：lisir
 * @date ：Created in 2023/5/23 16:35
 * @description：后端传给前端的类
 */
@Data
public class UserVO {

    private Integer userId;

    private String userName;

    private String nickName;

    private String password;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date creatTime;

    private String headImg;

    private String tel;

    private Integer status;

    private String workNo;
}
